home *** CD-ROM | disk | FTP | other *** search
- Subject: Re:Extension Link Problem
- Sent: 6/7/96 9:40 AM
- Received: 6/7/96 9:51 AM
- From: Doyle Rhynard, doyle.w.rhynard@cpmx.saic.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Bernie Wieser wrote:
-
- >Your extension is known in the shared library by its "ADI_TestExtClassData"
- >data structure. You must export it. Your project export for the shared
- >library must
- >contain this string (and probably this string only.)
- >i.e. myProj.prj.exp contains the line "ADI_TestExtClassData"
-
- I finally was able to get my test extension to work. Adding the
- TestExtClassData reference to the server's .exp file and adding the
- resulting server shared library to the client's project was all that was
- required.
-
-
- Also, Greg Friedman wrote:
-
- >Create a new shared library that implements only your extension. From this
- >shared library, export only the extension's class data, as described in the
- >first solution. Link both your client and your server parts against the new
- >shared library.
-
- >With this model, any server part that provides the extension will always
- >provide the same version and implementation. You can upgrade the extension
- >without having to touch all of the server parts that provide it. And,
- >finally, you avoid instantiation collisions.
-
- This is an very good suggestion that I plan to implement in all of the real
- part extensions that I write in the future. If fact, a version of this
- message should be added to ODF documentation as a tech note or recipe file.
-
- Doyle Rhynard
-
-